import { adminInstance } from '@/utils/http'

// 后台管理 - 登录
export const login = (data) => {
    return adminInstance.post('/auth/login', data)
}

// 后台管理 - 退出登录
export const logout = () => {
    return adminInstance.post('/auth/logout')
}

export const test = () => {
    return adminInstance.get('/user/test')
}